<div class="mainBody-box-bg1">
	<span class="action-span"><i class="action-span-add"></i><a href="{$manageDomain}userManage/add">添加 新用户</a></span>
</div>

<div class="list-div" id="listDiv">
<table cellspacing='1' cellpadding='1' id='list-table' bgcolor="#cccccc" width="100%" class="table1">
  <tr>
  	<th height="40" align="left">
  		<input type="checkbox" onclick="checkBoxSelectAll(this,'checkboxes','listDiv')" />
  		用户名</th>
    <th>真实姓名</th>    
    <th width="80">登录次数</th>
    <th width="130">创建时间</th>
    <th width="130">最后登录时间</th>
    <th width="80px">操作</th>
  </tr>
  {foreach from=$list item=list}
  <tr>
    <td align="left" height="40"><input type="checkbox" name="checkboxes[]" class='idsClass' value="{$list.user_id}" />{$list.username}</td>
    <td align="left">{$list.realname}</td>
    <td align="center">{$list.login_count}</td>
    <td align="center">{$list.create_time}</td>
    <td align="center">{$list.last_login_time|default:""}</td>    
    <td align="center"><a href="{$manageDomain}userManage/edit/?id={$list.user_id}" title="编辑">编辑</a>&nbsp;&nbsp;
      <a href="{$manageDomain}userManage/del/?id={$list.user_id}" onclick="return confirm('您确定要删除此用户吗?')" title="删除">删除</a>
      
      </td>
  </tr>
  {/foreach}
  <tr>
    <th colspan="2" height="40"><div class="left"><a class="buttonStyle" name="drop_user_id" onclick="batchDel('{$manageDomain}userManage/batchDel/','idsClass')" id="btnSubmit"><span></span>批量删除</a></div></th>
    <th align="right" colspan="5">{$pageStr}</th>
  </tr>
</table>
</div>
